package io.renren.modules.generator.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.generator.dto.GardenPortraitCommonResult;
import io.renren.modules.generator.entity.EnterpriseMainEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 企业基本信息
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-22 15:49:20
 */
@Mapper
public interface EnterpriseMainDao extends BaseMapper<EnterpriseMainEntity> {

    String selectSumFrontYearProduce();

    int selectSumEnterpriseMember();

    List<GardenPortraitCommonResult> selectTypeStatis();

    List<GardenPortraitCommonResult> selectEvaluateStatis();

    List<String> getList(String deptId);

    List<String> getEnterpriseList(String deptId, String name);

}
